<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><!--@php echo $cfg['shop_title'] @--></title>
<meta charset="utf-8">
 <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
<link href="__RESOURCE__/recouse/css/bjcommon.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__RESOURCE__/recouse/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="__RESOURCE__/recouse/js/jquery.lazyload.min.js"></script>
<script type="text/javascript" src="__RESOURCE__/recouse/js/fbi.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
	$(".ms_li img").lazyload({
	  placeholder : "__RESOURCE__/recouse/images/ajax-loader.gif", // 占位图
		threshold : 200, //控制灵敏度
                 effect: "fadeIn"
	});
	$("#submit").click(function() {
		if($("#search_word").val()){
			$("#searchForm").submit();
		} else {
			alert("请输入关键词！");
			return false;
		}
	});
});
</script>

</head>
<body style=" margin:0 auto;">
 <div class="WX_search1" id="mallHead">
	<form class="WX_search_frm1" action="index.php" id="searchForm" name="searchForm">
				<input type="hidden" name="mod" value="mobile" />
		<input type="hidden" name="do" value="goodlist" />
		<input type="hidden" name="name" value="shopwap" />
        <input name="keyword" id="search_word" class="WX_search_txt hd_search_txt_null" placeholder="请输入商品名进行搜索！" ptag="37080.5.2" type="search"  AUTOCOMPLETE="off"/>
    <div class="WX_me">
        <a href="javascript:;" id="submit" class="WX_search_btn_blue" >搜索</a>
       
    </div>
	 </form>
</div>


<div id="viewport" class="viewport">
  <div class="slider card card-nomb" style="visibility: visible;">
    <script type="text/javascript" src="__RESOURCE__/recouse/js/TouchSlide.1.1.js"></script>
    <div id="focus" class="focus">
      <div class="hd">
        <ul>
        </ul>
      </div>
      <div class="bd">
        <ul>
       <!--@php  if(is_array($advs)) { foreach($advs as $adv) { @-->
        <li><a href="<!--@php  if(empty($adv['link'])) { @--><!--@php  } else { @--><!--@php  echo $adv['link'];@--><!--@php  } @-->">
        	<img src="<!--@php echo WEBSITE_ROOT;@-->/attachment/<!--@php  echo $adv['thumb'];@-->" /></a></li>
		<!--@php  } } @-->
        </ul>
      </div>
    </div>
    <script type="text/javascript">
	TouchSlide({ 
		slideCell:"#focus",
		titCell:".hd ul", //开启自动分页 autoPage:true ，此时设置 titCell 为导航元素包裹层
		mainCell:".bd ul",
		delayTime:600,
		interTime:4000,
		effect:"leftLoop", 
		autoPlay:true,//自动播放
		autoPage:true, //自动分页
		switchLoad:"_src" //切换加载，真实图片路径为"_src" 
	});
	</script>
  </div>
  
  
  
   <!-- 4列广告 -->
      <ul style="background-color:#fff;" class="custom-nav-4 clearfix">
        <li> <a href="<!--@php  echo mobile_url('goodlist')@-->"> <span class="nav-img-wap"> <img class="js-lazy" src="__RESOURCE__/recouse/images/t1.jpg" style="display: inline;"> </span> <span class="title">全部商品</span> </a> </li>
        <li> <a href="<!--@php  echo mobile_url('help')@-->"> <span class="nav-img-wap"> <img class="js-lazy" src="__RESOURCE__/recouse/images/t2.png" style="display: inline;"> </span> <span class="title">购物须知</span> </a> </li>
        <li> <a href="<!--@php  echo mobile_url('mycart')@-->"> <span class="nav-img-wap"> <img class="js-lazy" src="__RESOURCE__/recouse/images/t3.png" style="display: inline;"> </span> <span class="title">购物车</span> </a> </li>
        <li> <a href="<!--@php  echo mobile_url('fansindex')@-->"> <span class="nav-img-wap"> <img class="js-lazy" src="__RESOURCE__/recouse/images/t4.png" style="display: inline;"> </span> <span class="title">个人中心</span> </a> </li>
      </ul>
      <!-- 4列广告 -->
      <ul style="background-color:#fff;" class="custom-nav-4 clearfix">
	  <li> <a href="<!--@php  echo mobile_url('bonus')@-->"> <span class="nav-img-wap"> <img class="js-lazy" src="__RESOURCE__/recouse/images/t7.png" style="display: inline;"> </span> <span class="title">我的优惠券</span> </a> </li>
        <li> <a href="<!--@php  echo mobile_url('rechargegold')@-->"> <span class="nav-img-wap"> <img class="js-lazy" src="__RESOURCE__/recouse/images/t5.png" style="display: inline;"> </span> <span class="title">我的余额</span> </a> </li>
        <li> <a href="<!--@php  echo mobile_url('myorder',array('status'=>99))@-->"> <span class="nav-img-wap"> <img class="js-lazy" src="__RESOURCE__/recouse/images/t6.png" style="display: inline;"> </span> <span class="title">我的订单</span> </a> </li>
        
        <li> <a href="<!--@php  echo mobile_url('myorder',array('status'=>2))@-->"> <span class="nav-img-wap"> <img class="js-lazy" src="__RESOURCE__/recouse/images/t8.png" style="display: inline;"> </span> <span class="title">待收货</span> </a> </li>
      </ul>
	  
	  
	 




  
  <div id="home-page" data-role="page" data-member-sn="ejWCX" data-member-subscribe="true">
	<div role="main" class="ui-content ">
    <div class="home-categories"  >
	
	
	
	 <div class="category-container" style="background-color:#ffffff;">
		  <div class="category-name">
	          <a class="category-url" href="#">
	              <div class="name-border"></div>
	              <div class="name">热卖推荐</div>
					     <div class="name-more">
                  <i class="icons-arrow-right2"></i>
                </div>
                 <div class="text-more"> </div>
				
	            </div>

	          	</a>
			  </div>
	 <ul class="os_box_list" >        
 <!--@php foreach($category as $row){ @-->
	
		 <!--@php foreach($row['list'] as $item){ @-->
			 		 <!--@php if($item['isrecommand']==1&&$item['ishot']==1){ @-->
                          <li>
                              <a href="<!--@php echo mobile_url('detail', array('id' => $item['id']))@-->" class="item">
                                 
                                  <div class="img"><img src="<!--@php echo WEBSITE_ROOT;@-->/attachment/<!--@php echo $item['thumb']@-->"  usesrc="1" alt=""></div>
                                  <div class="txt"><!--@php echo $item['title'];@--></div>
                                  
                                  <div class="buy">
                                      <span class="price"><strong><em>¥<!--@php echo $item['marketprice'];@--></em></strong><del>¥<!--@php echo $item['productprice'];@--></del></span>
                                   
                                  </div>
								  <i class="tag-home5"></i>    
                              </a>
                          </li>
						   <!--@php } @-->
						  <!--@php } @-->
						    <!--@php } @-->
          </ul>

	
	
	
	
	
        <!--@php foreach($category as $row){ @-->
        <div class="category-container" style="background-color:#ffffff;">
		  <div class="category-name">
	          <a class="category-url" href="<!--@php  echo mobile_url('goodlist', array('pcate' => $row['id']));@-->">
	              <div class="name-border"></div>
	              <div class="name"><!--@php echo $row['name'];@--></div>
					     <div class="name-more">
                  <i class="icons-arrow-right2"></i>
                </div>
                 <div class="text-more"> <a href="<!--@php  echo mobile_url('goodlist', array('pcate' => $row['id']));@-->" style="color:#000000" >更多</a></div>
				
	            </div>

	          	</a>
			  </div>
			  
			  
			  
			  
			  
			  
			  

    <div class="ms_list"> 
	
	 <!--@php foreach($row['list'] as $item){ @-->
			<div class="ms_li">     
			<a class="url" href="<!--@php echo mobile_url('detail', array('id' => $item['id']))@-->" >         
			<div class="img"><img src="__RESOURCE__/recouse/images/ajax-loader.gif" data-original="<!--@php echo WEBSITE_ROOT;@-->/attachment/<!--@php echo $item['thumb']@-->"></div>         
			<div class="info">
			    
			<div class="tit"><!--@php echo $item['title']@--></div>             
			           
			<div class="cost"><span class="label"><i class="icon_phone"></i>售价:</span><span class="price">¥<!--@php echo $item['marketprice']@--></span></div>              
			<div class="desc" >市场价:<span class="price">¥<!--@php echo $item['productprice']@--></span></div>                                                                                          
			<div class="act">
			<div class="count"><span class="label">已售:<!--@php echo $item['sales']@--></span></div>        
			<div class="buy"><span class="btn_buy  curClass">立即购买</span></div>             
			</div>         
			</div>     
			</a> 
			</div> 
 <!--@php } @-->
			</div>           

   		  <!--@php } @-->
 

    </div>

 </div>
</div>         
 </div>







  
  

  
  
		<div class="viewport">
			<!--@php  include page('footer');@-->	
		</div>





<!--@php include themePage('footer');@-->


<script src="__RESOURCE__/recouse/js/zepto.min.js" type="text/javascript"></script>
<script type="text/javascript">
Zepto(function($){
   var $nav = $('.global-nav'), $btnLogo = $('.global-nav__operate-wrap');
   $btnLogo.on('click',function(){
     if($btnLogo.parent().hasClass('global-nav--current')){
       navHide();
     }else{
       navShow();
     }
   });
   var navShow = function(){
     $nav.addClass('global-nav--current');
   }
   var navHide = function(){
     $nav.removeClass('global-nav--current');
   }
   
   $(window).on("scroll", function() {
		if($nav.hasClass('global-nav--current')){
			navHide();
		}
	});
})
function get_search_box(){
	try{
		document.getElementById('get_search_box').click();
	}catch(err){
		document.getElementById('keywordfoot').focus();
 	}
}
</script>


 
</body>
</html>